<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>{:dingyi($c['name'],'全部分类')} - {:set('title')}</title>
    <meta name="keywords" content="{$c.keywords}">
    <meta name="description" content="{$c.description}">
    {include file="header"}
    <div class="content-box pb-20">
        <div class="wrap ma_bottom modular">
            <div class="title"> 
                <a href="{:url('index/model/index',array('model'=>$c.m))}" class="curr"><i class="iconfont">&#xe616;</i>商城</a>
                {foreach name=":fun_S('cate_m',array('tid'=>0,'m'=>$c.m,'open'=>1,'header'=>1),'px desc','1000',1)" item="v" key="k"}
                <a href="{:url('index/model/cate',array('alias'=>$v.alias))}" {if $c.alias==$v.alias}class="hover"{/if}>{$v.name}</a>
                {/foreach}
            </div>
            <div class="ttuan_c fn-clear">
                {volist name=":fun_sd($c.m,array('f.open'=>1),$c['id'],'settop desc , times desc','16,false',0,'cate_m')" id="vo" empty="
                <div class='empty' align='center'>
                    <img src='/public/img/empty.png'/>
                    <p>没有更多的记录</p>
                </div>"}
                <div class="tc_item">
                    <a href="{:url('index/model/html',array('model'=>$vo.m,'id'=>$vo.id))}">
                        <div class="img">
                            <img src="{$vo.pic}" onerror="javascript:this.src='{:m()}/img/pic.jpg';">
                        </div>
                        <div class="info">
                            <p class="name">{$vo.title}</p>
                            <p class="count"><i class="iconfont">&#xe697;</i> {:fun_st('point_note',array('tid'=>$vo.id,'title'=>'付费阅读'.$vo.m))}人已购</p>
                            <p class="price"><i class="iconfont">&#xe605;</i><span>{$vo.jifen}</span>
                            </p>
                            <p class="btn"><i class="iconfont">&#xe742;</i> 去抢购</p>
                        </div>
                        {if $vo.settop==1}<div class="tj_icon">推荐</div>{/if}
                    </a>
                </div>
                {/volist}
            </div>
            {:fun_sd($c.m,array('f.open'=>1),$c['id'],'settop desc , times desc','16,false',0,'cate_m')->render()}
        </div>
    </div>
    {include file="footer"}